package com.pingan.haofang.searchcloud.index.dto;

/**
 * 索引信息DTO
 *
 * @author baojie371
 * @date 17/5/5
 * @since 1.0.0
 */
public class IndexDTO {

    /**
     * 索引ID
     */
    private Long id;

    /**
     * 项目ID
     */
    private Long projectId;

    /**
     * 索引名称
     */
    private String indexName;

    /**
     * 索引别名
     */
    private String indexAliasName;

    /**
     * 引擎，0-SOLR，1-ES
     */
    private Integer engineType;

    /**
     * 集群名
     */
    private String clusterName;

    /**
     * 索引简介
     */
    private String introduction;

    /**
     * 分片数
     */
    private Integer shardCount;

    /**
     * 副本数
     */
    private Integer replicationFactor;

    /**
     * 每个节点最大分片数
     */
    private Integer maxShardsPerNode;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public String getIndexAliasName() {
        return indexAliasName;
    }

    public void setIndexAliasName(String indexAliasName) {
        this.indexAliasName = indexAliasName;
    }

    public Integer getEngineType() {
        return engineType;
    }

    public void setEngineType(Integer engineType) {
        this.engineType = engineType;
    }

    public String getClusterName() {
        return clusterName;
    }

    public void setClusterName(String clusterName) {
        this.clusterName = clusterName;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public Integer getShardCount() {
        return shardCount;
    }

    public void setShardCount(Integer shardCount) {
        this.shardCount = shardCount;
    }

    public Integer getReplicationFactor() {
        return replicationFactor;
    }

    public void setReplicationFactor(Integer replicationFactor) {
        this.replicationFactor = replicationFactor;
    }

    public Integer getMaxShardsPerNode() {
        return maxShardsPerNode;
    }

    public void setMaxShardsPerNode(Integer maxShardsPerNode) {
        this.maxShardsPerNode = maxShardsPerNode;
    }
}
